package com.fourth_groups.shopping121store.ui.home.model;

/**
 * ----------Dragon be here!----------/
 * 　　　┏┓　　　┏┓
 * 　　┏┛┻━━━┛┻┓
 * 　　┃　　　　　　　┃
 * 　　┃　　　━　　　┃  创建人:李培雄
 * 　　┃　┳┛　┗┳　┃  时间:2016/10/14 18:10
 * 　　┃　　　　　　　┃  备注:
 * 　　┃　　　┻　　　┃
 * 　　┃　　　　　　　┃
 * 　　┗━┓　　　┏━┛
 * 　　　　┃　　　┃神兽保佑
 * 　　　　┃　　　┃代码无BUG！
 * 　　　　┃　　　┗━━━┓
 * 　　　　┃　　　　　　　┣┓
 * 　　　　┃　　　　　　　┏┛
 * 　　　　┗┓┓┏━┳┓┏┛
 * 　　　　　┃┫┫　┃┫┫
 * 　　　　　┗┻┛　┗┻┛
 * ━━━━━━神兽出没━━━━━━by:coder-pig
 */
public class HomeLBBean {

    /**
     * id : 3212
     * type : 1
     * title : 荣事达
     * title_h5 : 荣事达
     * url : http://m.121dian.com/new_activity/1105/?trace_data=%7B%22card_id%22%3A3212%2C%22position%22%3A%226.1.1%22%7D
     * content :
     * image : http://image.121dian.com/site/121/5a31e345a14658cf3bf8d7bed38e04c1.jpg
     * corner_ico :
     * corner : {}
     * config_count : 2
     * config : {"width":750,"height":320}
     * trace : {"data":{"card_id":3212,"position":"6.1.1"},"data_str":"{\"card_id\":3212,\"position\":\"6.1.1\"}"}
     */

    private int id;
    private int type;
    private String title;
    private String title_h5;
    private String url;
    private String content;
    private String image;
    private String corner_ico;
    private int config_count;
    /**
     * width : 750
     * height : 320
     */

    private ConfigBean config;
    /**
     * data : {"card_id":3212,"position":"6.1.1"}
     * data_str : {"card_id":3212,"position":"6.1.1"}
     */

    private TraceBean trace;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle_h5() {
        return title_h5;
    }

    public void setTitle_h5(String title_h5) {
        this.title_h5 = title_h5;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getCorner_ico() {
        return corner_ico;
    }

    public void setCorner_ico(String corner_ico) {
        this.corner_ico = corner_ico;
    }

    public int getConfig_count() {
        return config_count;
    }

    public void setConfig_count(int config_count) {
        this.config_count = config_count;
    }

    public ConfigBean getConfig() {
        return config;
    }

    public void setConfig(ConfigBean config) {
        this.config = config;
    }

    public TraceBean getTrace() {
        return trace;
    }

    public void setTrace(TraceBean trace) {
        this.trace = trace;
    }

    public static class ConfigBean {
        private int width;
        private int height;

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }
    }

    public static class TraceBean {
        /**
         * card_id : 3212
         * position : 6.1.1
         */

        private DataBean data;
        private String data_str;

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public String getData_str() {
            return data_str;
        }

        public void setData_str(String data_str) {
            this.data_str = data_str;
        }

        public static class DataBean {
            private int card_id;
            private String position;

            public int getCard_id() {
                return card_id;
            }

            public void setCard_id(int card_id) {
                this.card_id = card_id;
            }

            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }
        }
    }
}
